package com.yjlove.myplay.common;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

/**
 * 作者 YJlvoe
 * 创建时间 2017/3/29.
 */
public class PassAuthenticator extends Authenticator
{
    public PasswordAuthentication getPasswordAuthentication()
    {
        /**
         * 这个地方需要添加上自己的邮箱的账号和密码
         */
        String username = "weichatappdemo@163.com";
        String pwd = "QQ114841207";
        return new PasswordAuthentication(username, pwd);
    }
}
